]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
workspaceSwitcherPopover: Remove pointless timeout
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 21 Jul 2017 23:08:44 +0000 (01:08 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Thu, 10 Aug 2017 18:16:06 +0000 (20:16 +0200)
Ever since commit a4e53953, the popup has been hidden initially, so
there's little point in setting up a timeout handler to hide it ...

js/ui/workspaceSwitcherPopup.js

index b67e5beb877841aac68334a5f2bd6ffb89767a80..9ddd36463a6f0d60f86abbef1ad40167638111c0 100644 (file)
@@ -49,9 +49,6 @@ var WorkspaceSwitcherPopup = new Lang.Class({
         this._globalSignals = [];
         this._globalSignals.push(global.screen.connect('workspace-added', Lang.bind(this, this._redisplay)));
         this._globalSignals.push(global.screen.connect('workspace-removed', Lang.bind(this, this._redisplay)));
-
-        this._timeoutId = Mainloop.timeout_add(DISPLAY_TIMEOUT, Lang.bind(this, this._onTimeout));
-        GLib.Source.set_name_by_id(this._timeoutId, '[gnome-shell] this._onTimeout');
     },
 
     _getPreferredHeight : function (actor, forWidth, alloc) {